package com.repair.payment.service;

import com.repair.api.pay.request.PayQueryPageRequest;
import com.repair.api.pay.request.PayQueryRequest;
import com.repair.api.pay.request.PayRefundRequest;
import com.repair.api.pay.request.param.PayQueryParam;
import com.repair.api.pay.response.PayQueryResponse;
import com.repair.api.pay.response.PayRefundResponse;
import com.repair.api.pay.response.vo.PaymentInfoVO;
import com.repair.base.response.PageResponse;
import com.repair.payment.pojo.entity.PaymentRefund;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 郑春雨
 * @since 2024-10-18
 */
public interface PaymentRefundService extends IService<PaymentRefund> {

    PayRefundResponse<Boolean> refund(PayRefundRequest payRefundRequest);

    PageResponse<PaymentInfoVO> queryRefundPayList(PayQueryPageRequest<PayQueryParam> request);

    PayQueryResponse<PaymentInfoVO> getPaymentDetail(PayQueryRequest request);
}
